package com.qiuhui.spring_boot_03.Controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName: BlogController
 * @Description: TODO
 * @author: tian
 * @date: 2021/3/31  11:01 上午
 */
@RestController
public class BlogController {
    @RequestMapping("/spring")
    public String getString(){
        return "welcome to Spring Boot.";
    }
}
